﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Apps.Models
{
    public partial class HC_EXTEND_FIELD
    {
        [SugarColumn(IsPrimaryKey = true)]
        public string ID { get; set; }

        /// <summary>
        /// 列名
        /// </summary>
        public string NAME { get; set; }

        /// <summary>
        /// 标题显示
        /// </summary>
        public string TITLE { get; set; }

        /// <summary>
        /// 控件类型
        /// </summary>
        public int CONTROL_TYPE { get; set; }

        /// <summary>
        /// 字段数据类型
        /// </summary>
        public string DATA_TYPE { get; set; }

        /// <summary>
        /// 字段长度
        /// </summary>
        //public int DATA_LENGTH { get; set; }

        /// <summary>
        /// 小数点位数
        /// </summary>
        //public int DATA_PLACE { get; set; }

        /// <summary>
        /// 默认值
        /// </summary>
        public string DEFAULT_VALUE { get; set; }

        public int SORT { get; set; }

        /// <summary>
        /// 是否必填
        /// </summary>
        public int IS_REQUIRED { get; set; }

        /// <summary>
        /// 验证提示消息
        /// </summary>
        //public string VALID_TIP_MSG { get; set; }

        /// <summary>
        /// 验证失败消息
        /// </summary>
        //public string VALID_ERROR_MSG { get; set; }

        /// <summary>
        /// 是否有效1有效，0失效
        /// </summary>
        public int ENABLE { get; set; }

        public System.DateTime ADDTIME { get; set; }
        public string ADDUSERID { get; set; }
        public System.DateTime UPDATETIME { get; set; }
        public string UPDATEUSERID { get; set; }
        public string REMARK { get; set; }
    }

    public partial class HC_EXTEND_FIELD_VALUE
    {
        public string ID { get; set; }

        /// <summary>
        /// 列名
        /// </summary>
        public string NAME { get; set; }

        /// <summary>
        /// 标题显示
        /// </summary>
        public string TITLE { get; set; }

        /// <summary>
        /// 控件类型
        /// </summary>
        public int CONTROL_TYPE { get; set; }

        /// <summary>
        /// 默认值
        /// </summary>
        public string DEFAULT_VALUE { get; set; }

        public int SORT { get; set; }

        /// <summary>
        /// 是否有效1有效，0失效
        /// </summary>
        public int ENABLE { get; set; }

        public string ReferenceValue { get; set; }
        public string REMARK { get; set; }

    }
}
